package cn.kgc.Exception;

import cn.kgc.utils.IErrorCode;

public enum OrderErrorCode implements IErrorCode {

    ORDER_No_EXIST("50001","订单不存在"),
    OREER_ARGS_ERROR("50002", "订单参数传输异常"),
    No_ALIDSEAT("50003","座位已经被预定，无法下单"),
    NO_ORDER_LINKEDUSER("50004","下单没有此相关联系人"
            );


    private String errorCode;
    private String errorMsg;

    OrderErrorCode(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    OrderErrorCode() {
    }

    @Override
    public String getErrorCode() {
        return null;
    }

    @Override
    public String getErrorMessage() {
        return null;
    }
}
